{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as lib with context %}
{% from 'admin/lib.html' import extra with context %} {# backward compatible #}
{% block body %}
  <div>
  {% if will_add_singbook_tasks>0 %}
  <a class="btn btn-primary" href="{{ url_for('.add_no_chapter_list_to_spider') }}" role="button">将没有章节列表(ChapterList)的书籍源添加到SingleBook爬虫进行爬取<{{ will_add_singbook_tasks }}></a>
  {% endif %}
  </div>
{% endblock %}